home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / internet / weblibev / constant.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1995-10-31  |  2.6 KB  |  91 lines

  1. { ============================================================================
  2.   Copyright 1995 by Potomac Software, Inc. Use of this material is subject to
  3.   the terms and conditions of the software license agreement.
  4.   ============================================================================ }
  5.  
  6. unit ApiDlgConstants;
  7.  
  8. interface
  9.  
  10. { Numeric IDs for each browser API; order must match strings in listbox }
  11. const
  12.     WLAPI_GetWindowInfo = 0;
  13.     WLAPI_ListWindows = 1;
  14.     WLAPI_ActivateWindow = 2;
  15.     WLAPI_CloseWindow = 3;
  16.     WLAPI_SetWindowPos = 4;
  17.     WLAPI_ShowWindow = 5;
  18.     WLAPI_ShowFile = 6;
  19.     WLAPI_OpenURL = 7;
  20.     WLAPI_SaveURL = 8;
  21.     WLAPI_PostFormData = 9;
  22.     WLAPI_SaveFormData = 10;
  23.     WLAPI_RegisterProtocol = 11;
  24.     WLAPI_UnregisterProtocol = 12;
  25.     WLAPI_RegisterURLEcho = 13;
  26.     WLAPI_UnregisterURLEcho = 14;
  27.     WLAPI_RegisterViewer = 15;
  28.     WLAPI_UnregisterViewer = 16;
  29.     WLAPI_RegisterWindowChange = 17;
  30.     WLAPI_UnregisterWindowChange = 18;
  31.     WLAPI_ParseAnchor = 19;
  32.     WLAPI_GetVersion = 20;
  33.     WLAPI_QueryURLFile = 21;
  34.     WLAPI_SetNotifyMethod = 22;
  35.  
  36. { Numeric IDs for toolbar APIs; order must match strings in listbox }
  37. const
  38.     WLAPI_IsToolbarActive = 0;
  39.     WLAPI_SetActiveToolbar = 1;
  40.     WLAPI_AddToolbarButton = 2;
  41.     WLAPI_RemoveToolbarButton = 3;
  42.     WLAPI_IsToolbarButtonVisible = 4;
  43.     WLAPI_ShowToolbarButton = 5;
  44.     WLAPI_EnableToolbarButton = 6;
  45.     WLAPI_IsToolbarButtonEnabled = 7;
  46.     WLAPI_GetToolbarText = 8;
  47.     WLAPI_SetToolbarText = 9;
  48.     WLAPI_GetToolbarFont = 10;
  49.     WLAPI_SetToolbarFont = 11;
  50.     WLAPI_GetToolbarBkgnd = 12;
  51.     WLAPI_SetToolbarBkgnd = 13;
  52.     WLAPI_GetToolbarTextColor = 14;
  53.     WLAPI_SetToolbarTextColor = 15;
  54.     WLAPI_ToolbarCount = 16;
  55.  
  56. { Numeric IDs for HTML parsing APIs; order must match strings in listbox }
  57. const
  58.     WLAPI_HtmlEnumParseTree = 0;
  59.     WLAPI_HtmlGetChild = 1;
  60.     WLAPI_HtmlGetParent = 2;
  61.     WLAPI_HtmlGetSibling = 3;
  62.     WLAPI_HtmlGetElementType = 4;
  63.     WLAPI_HtmlGetElementText = 5;
  64.     WLAPI_HtmlGetTextAttr = 6;
  65.     WLAPI_HtmlGetTagName = 7;
  66.     WLAPI_HtmlGetTagType = 8;
  67.     WLAPI_HtmlGetTagAttr = 9;
  68.     WLAPI_HtmlExtractTagAttr = 10;
  69.     WLAPI_HtmlFindText = 11;
  70.     WLAPI_HtmlFindSpecial = 12;
  71.     WLAPI_HtmlFindComment = 13;
  72.     WLAPI_HtmlFindTagType = 14;
  73.     WLAPI_HtmlFindTagName = 15;
  74.     WLAPI_HtmlFindTagAttr = 16;
  75.     WLAPI_HtmlEnumFindText = 17;
  76.     WLAPI_HtmlEnumFindSpecial = 18;
  77.     WLAPI_HtmlEnumFindComment = 19;
  78.     WLAPI_HtmlEnumFindTagType = 20;
  79.     WLAPI_HtmlEnumFindTagName = 21;
  80.     WLAPI_HtmlEnumFindTagAttr = 22;
  81.  
  82. { Numeric IDs for utility APIs; order must match strings in listbox }
  83. const
  84.     WLAPI_AppendFormData = 0;
  85.     WLAPI_GetFormDataLength = 1;
  86.     WLAPI_ParseAbsoluteURL = 2;
  87.  
  88. implementation
  89.  
  90. end.
  91.